<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <!--
    Although this file is for headless tests, it can be used as a local file in GUI browsers.
    That's why we include the css below.
  -->
  <link href="../../../node_modules/mocha/mocha.css" rel="stylesheet" />
</head>

<body>
  <div id="mocha"></div>

  <script src="../../../node_modules/chai/chai.js"></script>
  <script src="../../../node_modules/mocha/mocha.js"></script>

  <script src="../../setup/browser.env.js"></script>
  <script src="../api.spec.js"></script>
  <script src="../../module-system/module.spec.js"></script>
  <script src="../../../dist/cross-fetch.js"></script>

  <script>
    describe('Browser:Fetch:whatwg', () => {
      addFetchSuite();
      addPolyfillSuite({ fetch });
    });

    mocha.checkLeaks();
    mocha.run();
  </script>
</body>

</html>
